package com.ele.service;

import com.ele.pojo.ResponseData;
import com.ele.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 28444
* @description 针对表【user】的数据库操作Service
* @createDate 2024-04-09 18:40:33
*/
public interface UserService extends IService<User> {
    /**
     * 用户注册
     * @param user
     * @return
     */
    ResponseData<Void> userRegister(User user);

    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    ResponseData<User> userLogin(String username,String password);
}